package com.mallcloud.mall.product.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mallcloud.mall.app.api.entity.vo.AppShopInfoSearchVO;
import com.mallcloud.mall.common.data.datascope.MallBaseMapper;
import com.mallcloud.mall.product.api.entity.ShopDetailModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 店铺详情
 */
@Mapper
public interface ShopDetailMapper extends MallBaseMapper<ShopDetailModel> {

    /**
     * 根据分类商品，查店铺分页
     * @param page
     * @param categoryId
     * @return
     */
    IPage<Long> pageShopDetailGroup(Page page, @Param("categoryId") Long categoryId);

}
